package com.show.pm.service.information.admin.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.show.pm.entity.information.TbAdmin;
import com.show.pm.mapper.information.TbAdminMapper;
import com.show.pm.service.information.admin.ITbAdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author mfw
 * @since 2020-11-26
 */
@Service
public class TbAdminServiceImpl extends ServiceImpl<TbAdminMapper, TbAdmin> implements ITbAdminService {

    @Resource
    private TbAdminMapper tbAdminMapper;

    @Override
    public List<TbAdmin> adminList() {
        return tbAdminMapper.selectList(null);
    }

    @Override
    public TbAdmin adminLogin(String name, String password) {

        return null;
    }
}
